classDiagram
  class Monkey {
    eat(food: Banana | Coconut) None
    jump(height: Optional[int]) None
    munch(food: Union[Leaf, Insect]) None
    scream(volume: int | None) Sound
  }
